module.exports = {
  packagerConfig: {
    asar: true,
    extraResource: [
      "./zipFile/extraResources/7-Zip/7z.exe",
      "./src/static/image/downLoad.jpg",
      "./src/static/image/upLaodFile.jpg",
    ],
    executableName: "Standard_terminology_query", // 可执行文件名称
  },
  rebuildConfig: {},
  makers: [
    {
      name: "@electron-forge/maker-squirrel",
      config: {
        name: "Standard_terminology_query",
      },
    },
    {
      name: "@electron-forge/maker-zip",
      platforms: ["darwin"],
    },
    {
      name: "@electron-forge/maker-deb",
      config: {},
    },
    {
      name: "@electron-forge/maker-rpm",
      config: {},
    },
  ],
  plugins: [
    {
      name: "@electron-forge/plugin-auto-unpack-natives",
      config: {},
    },
  ],
};
